<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<div data-role="page" data-theme="z" id="create2">

<div data-role="header" data-theme="z">
	<a href="/moimserver/moim" data-role="button" data-icon="home" data-iconpos="notext"></a>
	<h2>MOIM</h2>
</div>

<div data-role="content">
<a href="#" onclick="posList('noble');posList('man')">load</a>
<div class="member_list_config">
	<!-- <form action="/moimserver/moim/create" method="post"> -->
	<h1 id=moim_title></h1>
	
	<!-- select king form -->
	<div data-role="fieldcontain">
		<div class="select-king">
		King : <span id="king_name"></span>
		<a href="#king_pop" data-rel="popup" data-role="button" data-position-to="window" 
		data-inline="true" data-transition="pop" data-icon="plus" data-iconpos="right" data-mini="true">King 변경</a>
		</div>
	</div>
	
	<div id="king_pop" data-role="popup">
		<ul data-role="listview" data-inset="true" data-mini="true">
		<li><a href="#" onclick="setPos(this, 'king')" data-mini="true">member1</a></li>
		<li><a href="#" onclick="setPos(this, 'king')" data-mini="true">member2</a></li>
		</ul>
	</div>
	
	<!-- select noble form -->
	<div data-role="fieldcontain">
		Noble : 
		<a href="#noble_pop" data-rel="popup" data-role="button" data-position-to="window" 
			data-inline="true" data-transition="slideup" data-icon="plus" data-mini="true">add</a>
	</div>
	
	<ul data-role="listview" id="noble_selected">
	</ul>
	
	<div id="noble_pop" data-role="popup" data-dismissible="false" >
	</div>
	
	<div id="man_pop" data-role="popup" data-dismissible="false" >
	</div>
	<!-- select noble form -->
	<div data-role="fieldcontain">
		Man : 
		<a href="#man_pop" data-rel="popup" data-role="button" data-position-to="window" 
			data-inline="true" data-transition="slideup" data-icon="plus" data-mini="true">add</a>
	</div>
	
	<ul data-role="listview" id="man_selected">
	</ul>
	

	<fieldset data-role="controlgroup" data-type="horizontal" style="text-align:right;">
		<a href="/moimserver/moim" data-role="button" data-mini="true">CANCEL</a>
		<a href="#" onclick="addMember()" data-mini="true" data-role="button">CREATE</a>
	</fieldset>
	<!-- </form> -->

	
	</div> <!-- member_list_config -->
	
</div> <!-- content -->

</div>
